
////////////////////////////////////////////////////////////////////////////////////////////////
/* please refer to Appendix A2 for definitions and sources of all variables in the paper */
////////////////////////////////////////////////////////////////////////////////////////////////

/* load the bank-level data file */
*set appropriate directory
use "bank_year.dta", clear


*set control variables 
macro drop _all 
global control_bank_level  LN_ASSETS LN_ASSETS_SQR ROA CAPITAL_RATIO DEPOSIT_TO_ASSETS

************************************
/* GEN RESULTS IN TABLES 4*/
************************************
reghdfe LN_LOANS    post2003   $control_bank_level   , absorb(bankid) vce(cluster bankid)    /*Column 1*/
reghdfe LOAN_TO_ASSETS    post2003  $control_bank_level   , absorb(bankid) vce(cluster bankid) /*Column 2*/
reghdfe LN_Realestate_loan    post2003   $control_bank_level   , absorb(bankid) vce(cluster bankid) /*Column 3*/
reghdfe Realestate_to_TOTALLOANS    post2003   $control_bank_level    , absorb(bankid) vce(cluster bankid) /*Column 4*/
 
